package org.computate.model.dao;

import java.util.List;

import org.computate.model.item.Page;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.Query;

public interface PageDao extends ComputateDao<Page> {
	public Page create();
	public Page put(Page item);
	public Page save(Object itemObject);
	public Page create(String name);
	public Page create(String name, String parentField, Long parentId, int getLevels);
	public Page get(Long id, int getLevels);
	public Page get(String name, int getLevels);
	public Page delete(Long id);
	public Page delete(Page item);
	public List<Page> list(int listLevels);
	public List<Page> list(Query<Page> query, int listLevels);
	public Objectify ofy();
}
